package cn.turing.firecontrol.device.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 营业报表对象 t_cw_deal_per_day
 * 
 * @author ruoyi
 * @date 2023-02-24
 */
public class TCwDealPerDay
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 商户id */
    private Long businessId;

    /** 商户名称 */
    private String businessName;

    /** 1：线上无金融属性的  2：线上有金融属性的(如：租约保理) 3：线下(商户既有线上1，也有线下3，海链财务只有线上1,2)  */
    private Long onlineFlg;

    /** 统计日期(交易日期) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dealDate;

    /** 操作类型,1：收入，2：支出 */
    private Long operationType;

    /** 总计 */
    private BigDecimal total;

    /** 押金 */
    private BigDecimal deposit;

    /** 租金 */
    private BigDecimal rent;

    /** 电费 */
    private BigDecimal electricityFee;

    /** 水费 */
    private BigDecimal waterFee;

    /** 宽带费 */
    private BigDecimal netFee;

    /** 燃气费 */
    private BigDecimal gasFee;

    /** 有线电视费 */
    private BigDecimal cableFee;

    /** 商户充值金额(在海链财务报表中算作收入的一部分） */
    private BigDecimal czFee;

    /** 其他 */
    private BigDecimal otherFee;

    /** 预留字段1 */
    private BigDecimal reserve1;

    /** 预留字段2 */
    private Long reserve2;

    /** 预留字段3 */
    private String reserve3;

    /** 预留字段4 */
    private String reserve4;

    /** 预留字段5 */
    private String reserve5;

    /** 删除标识：0:未删除，1：删除 */
    private Integer delFlg;

    /** 创建用户ID */
    private Long createUserid;

    /** 更新用户ID */
    private String updateUserid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setOnlineFlg(Long onlineFlg) 
    {
        this.onlineFlg = onlineFlg;
    }

    public Long getOnlineFlg() 
    {
        return onlineFlg;
    }
    public void setDealDate(Date dealDate) 
    {
        this.dealDate = dealDate;
    }

    public Date getDealDate() 
    {
        return dealDate;
    }
    public void setOperationType(Long operationType) 
    {
        this.operationType = operationType;
    }

    public Long getOperationType() 
    {
        return operationType;
    }
    public void setTotal(BigDecimal total) 
    {
        this.total = total;
    }

    public BigDecimal getTotal() 
    {
        return total;
    }
    public void setDeposit(BigDecimal deposit) 
    {
        this.deposit = deposit;
    }

    public BigDecimal getDeposit() 
    {
        return deposit;
    }
    public void setRent(BigDecimal rent) 
    {
        this.rent = rent;
    }

    public BigDecimal getRent() 
    {
        return rent;
    }
    public void setElectricityFee(BigDecimal electricityFee) 
    {
        this.electricityFee = electricityFee;
    }

    public BigDecimal getElectricityFee() 
    {
        return electricityFee;
    }
    public void setWaterFee(BigDecimal waterFee) 
    {
        this.waterFee = waterFee;
    }

    public BigDecimal getWaterFee() 
    {
        return waterFee;
    }
    public void setNetFee(BigDecimal netFee) 
    {
        this.netFee = netFee;
    }

    public BigDecimal getNetFee() 
    {
        return netFee;
    }
    public void setGasFee(BigDecimal gasFee) 
    {
        this.gasFee = gasFee;
    }

    public BigDecimal getGasFee() 
    {
        return gasFee;
    }
    public void setCableFee(BigDecimal cableFee) 
    {
        this.cableFee = cableFee;
    }

    public BigDecimal getCableFee() 
    {
        return cableFee;
    }
    public void setCzFee(BigDecimal czFee) 
    {
        this.czFee = czFee;
    }

    public BigDecimal getCzFee() 
    {
        return czFee;
    }
    public void setOtherFee(BigDecimal otherFee) 
    {
        this.otherFee = otherFee;
    }

    public BigDecimal getOtherFee() 
    {
        return otherFee;
    }
    public void setReserve1(BigDecimal reserve1) 
    {
        this.reserve1 = reserve1;
    }

    public BigDecimal getReserve1() 
    {
        return reserve1;
    }
    public void setReserve2(Long reserve2) 
    {
        this.reserve2 = reserve2;
    }

    public Long getReserve2() 
    {
        return reserve2;
    }
    public void setReserve3(String reserve3) 
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3() 
    {
        return reserve3;
    }
    public void setReserve4(String reserve4) 
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4() 
    {
        return reserve4;
    }
    public void setReserve5(String reserve5) 
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5() 
    {
        return reserve5;
    }
    public void setDelFlg(Integer delFlg) 
    {
        this.delFlg = delFlg;
    }

    public Integer getDelFlg() 
    {
        return delFlg;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setUpdateUserid(String updateUserid) 
    {
        this.updateUserid = updateUserid;
    }

    public String getUpdateUserid() 
    {
        return updateUserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("businessName", getBusinessName())
            .append("onlineFlg", getOnlineFlg())
            .append("dealDate", getDealDate())
            .append("operationType", getOperationType())
            .append("total", getTotal())
            .append("deposit", getDeposit())
            .append("rent", getRent())
            .append("electricityFee", getElectricityFee())
            .append("waterFee", getWaterFee())
            .append("netFee", getNetFee())
            .append("gasFee", getGasFee())
            .append("cableFee", getCableFee())
            .append("czFee", getCzFee())
            .append("otherFee", getOtherFee())
            .append("reserve1", getReserve1())
            .append("reserve2", getReserve2())
            .append("reserve3", getReserve3())
            .append("reserve4", getReserve4())
            .append("reserve5", getReserve5())
            .append("delFlg", getDelFlg())
            .append("createUserid", getCreateUserid())
            .toString();
    }
}
